package com.hr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hr.entity.AoaAttachmentList;

import java.util.List;

/**
 * (AoaAttachmentList)表服务接口
 *
 * @author makejava
 * @since 2022-06-16 09:58:58
 */
public interface AoaAttachmentListService extends IService<AoaAttachmentList> {

    Page<AoaAttachmentList> queryList(Page<AoaAttachmentList> page,String userName);

    /**
     * 考勤修改数据
     * T:类型
     * Z:状态
     * B:备注
     * @return
     */
    int updateTZB(AoaAttachmentList a);

    int deleteById(Long a);

    List<AoaAttachmentList> queryYiZhou(String start,String end);

    List<AoaAttachmentList> selectDept(String startSJ,String endSJ,String deptS);

    /**
     * 查询一月考勤报表
     * @return
     */
    List<AoaAttachmentList> queryMonth(String startSJ,String deptS);
    List<AoaAttachmentList> queryMonth(String startSJ);

}

